package com.dk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_admin")
@ApiModel(value="TAdmin对象", description="")
public class TAdminDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户手机号")
    private String phone;

    @ApiModelProperty(value = "用户地址")
    private String adminAddress;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "密码加密的盐")
    private String salt;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "创建日期")
    private Date created;

    @ApiModelProperty(value = "会员等级 1.普通2.白金3.钻石")
    private Integer sourceType;

    @ApiModelProperty(value = "账号状况 1正常2非正常")
    private Integer status;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "头像")
    private String headSculpture;

    @ApiModelProperty(value = "用户真实姓名")
    private String nickName;

    @ApiModelProperty(value = "用户身份证号")
    private String idNumber;

    @ApiModelProperty(value = "用户生日")
    private Date birthday;

    @ApiModelProperty(value = "最后登录的时间")
    private Date endTime;

    @ApiModelProperty(value = "积分")
    private Integer points;

    @ApiModelProperty(value = "手机号是否验证0否1是")
    private Integer isMobileCheck;

    @ApiModelProperty(value = "邮箱是否验证0否1是")
    private Integer isEmailCheck;

    @ApiModelProperty(value = "逻辑删除")
    private Integer deleted;

    @ApiModelProperty(value = "线程锁")
    private Integer version;

    @ApiModelProperty(value = "创建日期")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


}
